﻿@model sgp.Models.FormaDoacao

@{
    ViewBag.Title = "Edit";
}

<h2>Editar</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Forma de Doacao</legend>

         <table border="0" width="35%" cellpadding="5">
            <tr>
                <td>
                    <div>
                        Nome
                    </div>
                    <div>
                        @Html.TextBoxFor(model => model.Nome, new { @class = "textmaior" })
                        @Html.ValidationMessageFor(model => model.Nome)
                    </div>
                </td>
            </tr>
            
       </table>

        <table border="0" width="10%" cellpadding="3">
            <tr>
                <td>
                    <input class="btn btn-success btn-small" type="submit" value="Salvar" />
                </td>
                <td>
                    <a class="btn btn-inverse btn-small" href="/FormaDoacao/Index" data-original-title="">Voltar</a>
                </td>
            </tr>
        </table>
    </fieldset>
}

